package com.gitee.mazhenggg.mall.point.domain.repository;

import com.gitee.mazhenggg.mall.point.domain.entity.Point;
import com.gitee.mazhenggg.mall.point.domain.type.UserId;
import com.gitee.mazhenggg.mall.point.domain.type.Value;

public interface PointRepository {
        Value getPointByUserId(UserId userId);
        void updatePointByUserId(UserId userId,Value amount);
}
